<template>
  <el-card class="box-card">
    <el-row  style="height: 70px;line-height: 50px">
      <el-col :span="4"><span class="el-icon-user"></span></el-col>
      <el-col :span="16">个人信息</el-col>
      <el-col :span="4"><el-button type="text">修改信息</el-button></el-col>
    </el-row>
    <div style="height: 200px;">
      <el-form label-width="100px" style="float: left">
        <el-form-item label="用户名:">
          <el-input style="width: 200px" disabled :value="userInfo.username"></el-input>
        </el-form-item>
        <el-form-item label="密码:">
          <el-input style="width: 200px" disabled :value="userInfo.password"></el-input>
        </el-form-item>

      </el-form>
    </div>
  </el-card>
</template>

<script>
export default {
  name: "Person",
  data(){
    return{
      userInfo:{
        username: '',
        password: ''
      }
    }
  }
}
</script>

<style scoped>

.box-card {
  width: 400px;
  height: 300px;
}
</style>